{% block sw_simple_search_field %}
<div class="sw-simple-search-field">
    {% block sw_simple_search_field_input %}

    <mt-text-field
        class="sw-simple-search-field__input"
        :class="fieldClasses"
        :placeholder="placeholder"
        v-bind="$attrs"
        :model-value="value"
        :size="size"
        @update:model-value="onInput"
    />
    {% endblock %}

    {% block sw_simple_search_field_search_icon %}
    <slot name="sw-simple-search-field-icon">
        {% block sw_simple_search_field_slot_search_icon %}
        <mt-icon
            v-if="icon"
            class="sw-simple-search-field__search-icon"
            :name="icon"
            size="16px"
        />
        {% endblock %}
    </slot>
    {% endblock %}
</div>
{% endblock %}
